read_server:read_server.cc
	g++ -o $@ $^ -std=c++11 -L/usr/lib64/mysql -I/usr/include/mysql -lctemplate -lpthread -lmysqlclient -ljsoncpp

.PHONY:clean
clean:
	rm -f read_server